package org.example.baseinfo;

import org.example.baseinfo.config.TaskThreadPoolConfig;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;


/**
 * Spring boot 启动类
 */
@SpringBootApplication
@EnableFeignClients
@EnableAsync
@EnableConfigurationProperties({TaskThreadPoolConfig.class})
public class Application {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(Application.class);
        application.setBannerMode(Banner.Mode.CONSOLE);
        application.run(args);
    }


}
